package org.yenn.pattern.aliyun.j2ee.dataaccess;

import org.yenn.pattern.aliyun.j2ee.entity.Student;

import java.util.List;

/**
 * @Author: yerenyun
 * @Description: 步骤 2 创建数据访问对象接口。
 */
public interface StudentDao {
    public List<Student> getAllStudents();
    public Student getStudent(int rollNo);
    public void updateStudent(Student student);
    public void deleteStudent(Student student);
}
